interface IPerson {
    name: string,
    age: number,
}

type ResType = Omit<IPerson, "name">

type MyOmit<T, Keys extends keyof any> = {
    [P in keyof T as P extends Keys ? never : P]
}

type ResType2 = MyOmit<IPerson, "name">


export { }